package com.onecar.carplatform.common.constants;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;

/**
 * @Author: ljq
 * @Description: 协议类型枚举
 * @Date: 2021/8/19 11:20
 * @Version: 1.0
 */

@Getter
@AllArgsConstructor
public enum ProtocolType {
    JT808_2011(808, "部标 JT808 2011"),
    JT808_2013(808, "北斗部标 JT808 2013"),
    JT808_2019(808, "国标 JT808 2019"),
    PROTOCOL_NULL(-1, "不支持的协议类型");

    private final int type;
    private final String desc;
}
